#ifndef __Math__PlayAdjustLayer__
#define __Math__PlayAdjustLayer__

#include "cocos2d.h"
#include "ui/CocosGUI.h"
USING_NS_CC;
using namespace cocos2d::ui;

class PlayAdjustLayer : public Layer
{
private:
	Size m_screenSize;
    Node* m_nodeRoot;
    Node* m_nodeGhostPlay;
    Sprite* m_Clound;
    LoadingBar* m_loadingBar;
    Button* btnIncrease;
    Button* btnDecrease;
    void calculateTimePlay(Ref* pSender);
    void initGhost();
public:
	PlayAdjustLayer(Size screenSize);
    void initialize(Node* layerCoco);
    void initGame(Node* nodeRoot);
    void IncreaseGhost(Ref* pSender);
    void DecreaseGhost(Ref* pSender);
};
#endif
